

 class C1{
    static instance = new C1();
    constructor() {
        this.name = "C1 ";
    }
 }

 console.log(C1.instance.name); // Output: C1 Instance